﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DATA;
using DTO;
namespace BUS
{
    public class SupportOnlineSkypeBUS
    {
        public List<SupportOnlineSkypeDTO> GetAllSupportOnlineSkypes()
        {
            SupportOnlineSkypeREP acc = new SupportOnlineSkypeREP();
            return acc.GetAllSupportOnlineSkypes();
        }

        public bool AddSupportOnlineSkype(SupportOnlineSkypeDTO newAccount)
        {
            SupportOnlineSkypeREP acc = new SupportOnlineSkypeREP();
            return acc.AddSupportOnlineSkype(newAccount);
        }
        public void DeleteSupportOnlineSkype(int AccountID)
        {
            SupportOnlineSkypeREP acc = new SupportOnlineSkypeREP();
            acc.DeleteSupportOnlineSkype(AccountID);
        }
        public bool UpdateSupportOnlineSkype(SupportOnlineSkypeDTO accountup)
        {
            SupportOnlineSkypeREP acc = new SupportOnlineSkypeREP();
            return acc.UpdateSupportOnlineSkype(accountup);


        }
    }
}
